Gareth Bale scores at the death to force penalties