Coverage Path Planning for UAVs Photogrammetry with Energy and Resolution Constraints