Boundedness of classical solutions for a chemotaxis system with general sensitivity function