Regular weight training can help you keep fit and strengthen muscles to live longer, research suggests.