A comparison of longitudinal and perpendicular recording based on optimum perpendicular transition