A British father charged over the death of his two-year-old son at a luxury hotel in Cyprus has been allowed to return home for the boy's funeral.