Distribution of apparent beamwidths of pulsars and evolution of their magnetic inclinations