Psychosocial variables associated with teenage pregnancy