what are the types of legal opinions