Real Madrid see off gritty Espanyol, Atletico sink Getafe