What are the different types of imperfect markets, how do they differ from pure and perfect competition?