What determines which sex will result in

offspring of birds and mammals?