Hugh Jackman says he was treated for skin cancer