Meta-generalized gradient approximation for the exchange-correlation hole with an application to the jellium surface energy