Neymar scored four times, including two penalties, as Barcelona beat Rayo Vallecano to go level on points with La Liga leaders Real Madrid.