Exact elasticity solution for buckling of composite laminates