Automated detection and classification of basic shapes of newborn cry melody