Second-order sensitivity relations and regularity of the value function for mayer's problem in optimal control