Three people died and 15 more were injured after powerful waves battered the popular Spanish holiday island of Tenerife.