Casemiro's stunning volley helped Real Madrid earn a 3-1 first-leg advantage from their Champions League last-16 tie against Napoli.