What are the three principles of preventive medicine?