Text this: Local resource competition and the skewness of the sex ratio: a demographic model