Returns to skills, incentives to study and optimal educational standards