A static and free vibration analysis method for non-prismatic composite beams with a non-uniform flexible shear connection