Temperature and time dependence of orthopositronium formation in polystyrene