Parameter estimation for fractional birth and fractional death processes